package com.huarui.part.util;

public enum PartOperateResultEnum {

	SUCCESS("success"),

	FAILURE("failure"),
	
	RESULT_TYPE_SUCCESS("OK"),

	OK_MSG_SUCCESS("操作成功"),
	
	ERROR_MSG_DATABASE("数据库保存错误"),
	
	RROR_MSG_STATES_CANNOTMODI("该记录不能被修改"),
	
	RROR_MSG_STATES_CANNOTDELETE("该记录不能被删除"),
	
	RROR_MSG_STATES_HASSUBMIT("该条记录已经处理过了"),
	
	RROR_MSG_RECORD_NONE("找不到对应的记录"),

	ERROR_MSG_HASPART("零件编码被占用");

	private String msg;

	PartOperateResultEnum(String error) {
		this.msg = error;
	}

	public String getMsg() {
		return msg;
	}

	public void setMsg(String msg) {
		this.msg = msg;
	}
}
